<!doctype html>
<html lang="en">
<head>
	{include file="common/head"}
	<style type="text/css">
		.filter .option {padding-top: 15px;}
		.filter .option .option-title {min-width: 80px;float: left;font-weight: bold;}
		.filter ul {list-style: none;padding-left: 0;margin: 0 0 0 90px;}
		.filter ul li {float: left;}
		.filter ul li a {display: block;padding: 2px 10px 2px 10px;}
		.filter ul li a.active {color: #f75757;}
	</style>
</head>
<body>
	{include file="common/menu"}
	{include file="common/sub2"}
    <section class="project-area home-product p-4">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="filter m-0">
                        {hkcms:filter }
                        <div class="option clearfix">
                            <div class="option-title">{:__($item['title'])}：</div>
                            <ul class="clearfix">
                                {hkcms:volist name="item.option" id="vo"}
                                <li><a class="{$vo.currentstyle}" href="{$vo.url}">{:__($vo.title)}</a></li>
                                {/hkcms:volist}
                            </ul>
                        </div>
                        {/hkcms:filter}
                        <div class="option clearfix">
                            <div class="option-title">{:__('Weigh')}：</div>
                            <ul class="clearfix">
                                {hkcms:order currentstyle="active"}
                                <li>
                                    <a href="{$item.url}" class="{$item.currentstyle}">
                                        {if $key==0}
                                        {:__($item.title)}
                                        {elseif ($item.order=='asc')}
                                        <i class="fas fa-long-arrow-alt-down"></i> {:__($item.title)}
                                        {else /}
                                        <i class="fas fa-long-arrow-alt-up"></i> {:__($item.title)}
                                        {/if}
                                    </a>
                                </li>
                                {/hkcms:order}
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
	<section class="section blog-wrap bg-gray p-4">
	    <div class="container">
	        <div class="row portfolio-gallery">
	        	{hkcms:content catid="$Cate.id" num="$Cate.num" page="1"}
				<div class="job-item col-12 p-4 mb-4 border bg-white">
                    <div class="row g-4">
                        <div class="col-sm-12 col-md-8 d-flex align-items-center">
                            <div class="text-start ps-4">
                                <h5 class="mb-3" style="font-size: 15px"><a href="{$item.url}" title="{$item.title}">{$item.title}</a><span class="text-danger ml-2">{$item.salary|default=''}</span></h5>
                                <span class="text-truncate mr-3" style="font-size: 13px"><i class="fa fa-map-marker-alt mr-2"></i>{$item.address|default=''}</span>
                                <span class="text-truncate mr-3" style="font-size: 13px"><i class="far fa-clock mr-2"></i>{$item.nature|default=''}</span>
                                <span class="text-truncate mr-0" style="font-size: 13px"><i class="far fa-bookmark mr-2"></i>{$item.degree|default=''}，{$item.exp|default=''}</span>
                            </div>
                        </div>
                        <div class="col-sm-12 col-md-4 d-flex flex-column align-items-start align-items-md-end justify-content-center">
                            <div class="d-flex mb-3">
                                <a class="btn btn-main btn-round-full py-2 px-3" href="{$item.url}">{:__('Apply Now')}</a>
                            </div>
                            <small class="text-truncate"><i class="far fa-calendar-alt mr-2"></i>{hkcms:date name="$item.publish_time" format="Y-m-d"}</small>
                        </div>
                    </div>
                </div>
				{/hkcms:content}
			</div>
			<div class="row justify-content-center mt-2">
	            <div class="col-12 text-center">
                    {hkcms:contentpage item="home,pre,pageno,next,last,info" mobile_item="pre,pageno,next" pre="&laquo;" next="&raquo;" /}
	            </div>
	        </div>
	    </div>
	</section>
	{include file="common/footer"}
</body>
</html>